/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Module;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

import java.io.Serializable;



/**
 *
 * @author Vegard
 */
public class Resource implements Serializable{
    private int id;
    private String name;
    private int resourceTypeId;

    public Resource(){}

    public Resource(int id, String name, int resourceTypeId) {
        this.id = id;
        this.name = name;
        this.resourceTypeId = resourceTypeId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getResourceTypeId() {
        return resourceTypeId;
    }

    public void setResourceTypeId(int resourceTypeId) {
        this.resourceTypeId = resourceTypeId;
    }

}

